//
//  ContainerView.h
//  ActiveDeck
//
//  Created by Laura McBride on 9/22/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AD_ContainerOB.h"
#import "AD_Note.h"
#import "AD_Notice.h"
#import "AD_PhotoNote.h"

@interface ContainerView : UIView <UIScrollViewDelegate>{
    
    IBOutlet UIButton *bt_ShowContainer;
    
    IBOutlet UIButton *bt_Notices;
    IBOutlet UIButton *bt_NoteBook;
    IBOutlet UIButton *bt_Note;
    IBOutlet UIButton *bt_Photo;
    IBOutlet UIButton *bt_AskQes;
    IBOutlet UIView *Vw_Container;
    IBOutlet UILabel *lb_Notices;
    IBOutlet UIScrollView *UI_NoteScroll;
    IBOutlet UIScrollView *UI_NoticeScroll;
    
    IBOutlet UIView *Vw_ScrollItem;
    IBOutlet UIImageView *Img_BG;
    id _delegate;
    int EditIndex;
}

@property (assign) id _delegate;
@property (nonatomic, retain) UIImageView *Img_BG;
@property (nonatomic, retain) UIView *Vw_ScrollItem;
@property (nonatomic, retain) UIView *Vw_Container;
@property (nonatomic, retain) UIButton *bt_ShowContainer;
@property (nonatomic, retain) UILabel *lb_Notices;
@property (nonatomic, retain) UIScrollView *UI_NoteScroll;
@property (nonatomic, retain) UIScrollView *UI_NoticeScroll;
@property (nonatomic, retain) UIButton *bt_Notices;
@property (nonatomic, retain) UIButton *bt_NoteBook;
@property (nonatomic, retain) UIButton  *bt_Note;
@property (nonatomic, retain) UIButton  *bt_Photo;
@property (nonatomic, retain) UIButton  *bt_AskQes;

- (IBAction)AddNote;
- (IBAction)ShowNote;
- (IBAction)ShowNotice;
- (IBAction)ShowMoreContainer;

- (void)initWithContainOB:(AD_ContainerOB*)containOB
               totalSlide:(int)totalSlide;

- (UIView*)ScrollViewItem:(AD_Note *)adNote;
- (UIView*)ScrollViewItemNotice:(AD_Notice *)adNotice;
- (UIView*)ScrollViewItemPhoto:(AD_PhotoNote *)adPhoto
                 DocumentPath:(NSString *)DocumentPath;
- (void)buttonPress:(id)sender;


@end


@interface NSObject(ContainerDelegate)
- (void)AddNote;
- (void)EditNote:(int)editIndex;
- (void)EditPhotoNote:(int)editIndex;
- (void)ShowMoreContainer;
- (void)UserCamera;
- (IBAction)MaxContainer;


@end